home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / hacklist / 94-05 / text0004.txt < prev    next >
Encoding:
Text File  |  1994-05-19  |  700 b   |  25 lines

  1. > Dear hackers,
  2. > I have an essential winsock problem : what will happen when my
  3. > program keeps running(never return) while monitoring FD_READ by using
  4. > WSAsynchSelect(), can winsock.dll or the real TCP/IP stacks
  5. > receive the incoming packets ? My doubt is if the real IP-layer
  6. > receives packets by interrupt or from Windows 'pseudo' multitasking ?
  7. > If it's the latter, of course , not to mention it.
  8. > thanks,
  9. > Franklin.
  10. >  
  11.  
  12. You will have to yield back to Windows somehow if you use WSAAsyncSelect().
  13. The Winsock would have to somehow post message to you to notify you the
  14. arrival of the data.  It can do it if you are hogging the Windows system.
  15.  
  16. William
  17. --
  18. william@sybase.com
  19.  
  20.  
  21.